
#ifndef __NET_GENERAL_H
#define __NET_GENERAL_H

#define MAX_BLOCK_SIZE 4096
#define STANDARD_BLOCK 1048576

#define CRLF_STR     "\r\n"

#define PENDING_CONNECTIONS 8

#include <apr_portable.h>

/** A functor for generating the thread function in multiple
 * threads. */
typedef void *(*functor)(apr_thread_t *, void *);

#endif
